package cn.stack.springframework.test.bean;

import java.util.Random;

public class UserService12 implements IUserService11{
    @Override
    public String queryUserInfo() {
        try{
            Thread.sleep(new Random(1).nextInt(100));
        }catch (InterruptedException e){
            e.printStackTrace();
        }
        return "小傅哥,100001,深圳";
    }

    @Override
    public String register(String userName) {
        try{
            Thread.sleep(new Random(1).nextInt(100));
        }catch (InterruptedException e){
            e.printStackTrace();
        }
        return "注册用户:"+userName+" success! ";
    }
}
